package com.wj.auth.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

/**
 * @author ace
 * @create 2017/12/26.
 */
@RestController
@RequestMapping("/service")
@Api(tags = "测试服务")
public class ServiceController{

    @PostMapping("/test")
    public String test(){
        return "testService";
    }

    @GetMapping("/test")
    public String test01(){
        return "test01";
    }
}
